from google.appengine.ext import db

class Transcation(db.Model):
# common section
    owner = db.UserProperty()
    is_pay = db.BooleanProperty()
    amountnum = db.StringProperty()
    date = db.DateTimeProperty(auto_now_add=True)
    notes = db.StringProperty()
# income section:
    income_source = db.StringProperty()
# expense section:
    expense_catelog = db.StringProperty()
    expense_through = db.StringProperty()
    expense_to_whom = db.StringProperty()

